/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package uit.ejb.dae.user;

import java.rmi.RemoteException;
import javax.ejb.EJBObject;
import javax.sql.rowset.WebRowSet;
import uit.ejb.dto.UserDTO;


/**
 *
 * @author SVN - Team
 */
public interface UserDAERemote extends EJBObject {

    String businessMethod() throws RemoteException;

    WebRowSet user_GetByAll() throws RemoteException;

    boolean user_Insert(UserDTO user)throws RemoteException;

    int user_Delete(String id) throws RemoteException;

    boolean user_Update(UserDTO user) throws RemoteException;

    WebRowSet user_GetById(UserDTO us) throws RemoteException;

    WebRowSet user_GetByTop(String Top, String Where, String Order) throws RemoteException;

    int user_CheckLogin(String user, String pass) throws RemoteException;
}
